package com.rdxer.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Data
@Table
@AllArgsConstructor
@NoArgsConstructor
@Builder
// 答卷表
public class AnswerSheet {
    @Id
    @Column(length = 100)
    private String id;
    @Column(length = 100)
    private String userId;
    @Column(length = 100)
    private String paperId;

    private Long createDate;
    private Long endDate;
    // 总用时
    private Long testDuration;
    /**
     * 客观分数
     */
    private Double objectiveScore;
    /**
     * 主观分数
     */
    private Double subjectiveScore;

    // 总分
    private Double score;

    private Boolean resolve;

}
